<% include header.html %>

<% if (!user) { %>
    <div class="hero-unit">
        <h1>歡迎來到 Microblog</h1>
        <p>Microblog 是一個基於 Node.js 的微博系統。</p>
        <p>
            <a class="btn btn-large" href="/reg">立即注册</a>
        <p><a class="btn btn-primary" href="/login">登陆</a></p>
        </p>
    </div>
<% } else { %>
    <%- include say %>
<% } %>
    <%- include post %>


<% include footer.html %>